<?xml version="1.0" encoding="UTF-8"?>
<xsl:transform version="1.0"
		xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
		xmlns:fn="http://www.w3.org/2005/02/xpath-functions"
		xmlns:w="http://lucidium.net/wixi" >

	<xsl:include href="base.xsl"/>

	<xsl:template match="w:topic">
		<div class="WIXI_SECTION">
			<xsl:apply-templates select="*" />
		</div>
	</xsl:template>

	<xsl:template match="w:field">
		<xsl:value-of select="text()"/>
	</xsl:template>

	<xsl:template match="w:field[@type='richtext']">
		<p>
			<xsl:apply-templates select="*|text()"/>
		</p>
	</xsl:template>

</xsl:transform>
